package be.jsams.server.dao;

import java.util.List;

import be.jsams.common.bean.model.management.CustomerBean;
import be.jsams.server.model.Customer;

/**
 * Customer DAO interface.
 *
 * @author chesteric31
 * @version $Rev: 622 $ $Date:: 2011-03-14 13:24#$ $Author: chesteric31 $
 */
public interface CustomerDao extends Dao<Customer> {

    /**
     * Finds a list of {@link Customer} following the criteria model
     * 
     * @param criteria
     *            the criteria model
     * @return a list of {@link Customer}
     */
    List<Customer> findByCriteria(final CustomerBean criteria);

}
